/**
 * IntersectData.cpp
 *
 * Author:
 *   Chris Herbison
 *
 * Description:
 *   Class which holds the data for the intersection of a ray and an object.
 */

#include "IntersectData.h"

/*
 * The constructor.
 *
 * _pos - Position of the intersection.
 * _normal - The normal vector.
 * _view - The viewing vector.
 * _CA - The ambient color at the intersection.
 * _CD - The ambient color at the intersection.
 * _CS - The ambient color at the intersection.
 * _reflective - The reflective vector.
 * _transmissive - The transmissive vector.
 */
IntersectData::IntersectData(Point3 _pos, Vector3 _normal, Vector3 _view, MyColor _CA, MyColor _CD, MyColor _CS,
                        Vector3 _reflective, Vector3 _transmissive):
                             pos(_pos), normal(_normal), view(_view), CA(_CA), CD(_CD), CS(_CS),
                             reflective(_reflective), transmissive(_transmissive){
}

/*
 * Default constructor.
 */
IntersectData::IntersectData(){
}
